package com.css.gdzj.gdzjbxgd.modules.reportinfo.repository.entity;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @author z
 * @date 2020-12-11
 * 廉洁自律-兼职取酬
 */
@Data
@Entity
@Table(name="honest_ptjob_child")
public class HonestPtjobChildEntity implements Serializable {
    private static final long serialVersionUID = 1;

    /**
     * 主表id
     */
    @Column(name="REPORT_ID")
    private String reportId;
    /**
     * 批准机关
     */
    @Column(name="HONEST_PTJOB_APPROVAL")
    private String honestPtjobApproval;
    /**
     * 兼职单位
     */
    @Column(name="HONEST_PTJOB_UNIT")
    private String honestPtjobUnit;
    /**
     * 是否取酬
     */
    @Column(name="HONEST_PTJOB_MONEY")
    private String honestPtjobMoney;
    /**
     * 主键id
     */
    @Column(name="UUID")
    @Id @GeneratedValue(generator="system-uuid")
    @GenericGenerator(name="system-uuid", strategy = "uuid")
    private String uuid;
    /**
     * 职  务
     */
    @Column(name="HONEST_PTJOB_POST")
    private String honestPtjobPost;
}

